package com.chat.admin.domain.DTO.EDIT;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class EditRoleDTO {
    @NotNull(message = "id不能为空")
    private Long id;// id
    @NotBlank(message = "角色名不能为空")
    private String name;// 角色名字
    private String description;// 角色描述
    private List<Long> AuthIdList;//权限列表
}
